<?php /* Smarty version 2.6.26, created on 2016-09-05 12:06:32
         compiled from edit.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/head.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="box">
	<form role="form" method="post">
		<div class="form-group">
			<label for="exampleInputEmail1">学生姓名</label>
			<input type="text" value="<?php echo $this->_tpl_vars['oldData']['sname']; ?>
" name="sname" required="" class="form-control" id="exampleInputEmail1" placeholder="请输入学生姓名">
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">学生年龄</label>
			<input type="number" value="<?php echo $this->_tpl_vars['oldData']['age']; ?>
" name="age" min="1" max="100" class="form-control" id="exampleInputPassword1" placeholder="Password">
		</div>
		<div class="form-group">
			<label for="exampleInputPassword1">学生性别</label>
			<div>
				<label class="radio-inline">
				  <input type="radio" name="sex"  value="男" <?php if ($this->_tpl_vars['oldData']['sex'] == '男'): ?>checked=""<?php endif; ?>> 男
				</label>
				<label class="radio-inline">
				  <input type="radio" name="sex"  value="女" <?php if ($this->_tpl_vars['oldData']['sex'] == '女'): ?>checked=""<?php endif; ?>> 女
				</label>
			</div>
		</div>
		<button type="submit" class="btn btn-default">确定</button>
	</form>
</div>
</body>

</html>